package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.RechargeThirdResponse;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/8/12.
 */

public interface RechargeThirdRequest {
    @POST("recharge_third")
    @FormUrlEncoded
    Observable<BaseModel<RechargeThirdResponse>> getResult(@Query("token") String token,
                                                           @Field("names_alias") String names_alias,
                                                           @Field("amount") String amount,
                                                           @Field("third_order_no") String third_order_no,
                                                           @Field("api_pay_id") String api_pay_id,
                                                           @Field("bank_card_id") String bank_card_id,
                                                           @Field("qrcode") String qrcode);
}
